using Glue.Converters;

namespace Glue.Internals
{
    internal interface IRelation
    {
        IObjectMember LeftMember { get; }
        IObjectMember RightMember { get; }
        RelationDirection Direction { get; }
        IConverter GetConverter();
        bool HasTowardsLeft();
        bool HasTowardsRight();
        bool CanMapFromThisLeftSideObject(object thisObject);
        bool CanMapFromThisRightSideObject(object thisObject);
    }
}